package cn.stylefeng.guns.modular.manager.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 分类商品
 * </p>
 *
 * @author yumker
 * @since 2021-01-07
 */
@TableName("flow_goods")
public class FlowGoods implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "goods_id", type = IdType.AUTO)
    private Long goodsId;

    @TableField("goods_name")
    private String goodsName;

    @TableField("goods_type_id")
    private Long goodsTypeId;

    @TableField("note")
    private String note;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField("cover")
    private String cover;


    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Long getGoodsTypeId() {
        return goodsTypeId;
    }

    public void setGoodsTypeId(Long goodsTypeId) {
        this.goodsTypeId = goodsTypeId;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    @Override
    public String toString() {
        return "FlowGoods{" +
                "goodsId=" + goodsId +
                ", goodsName=" + goodsName +
                ", goodsTypeId=" + goodsTypeId +
                ", note=" + note +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", cover=" + cover +
                "}";
    }
}
